// 判断字符串表达式是否成立
import {clone} from "./ObjectUtil.js";
export function isTrue(express,env) {
    let flag = false;
    let objCode ="let _envObj = " + JSON.stringify(clone(env));
    let value = express.split(":")[1].trim();
    let code = `${objCode};flag = _envObj.${value}`
    eval(code)
    return flag;
}